package com.rpc.example.constant;

/**
 *
 *
 * @author Elvis
 * @version 1.0, 2022/11/9
 */
public enum SerializeTypeEnum {
    /**
     *
     */
    JSON((byte) 1),
    JAVA((byte) 2),
    ;

    SerializeTypeEnum(byte code) {
        this.code = code;
    }

    private byte code;

    public byte getCode() {
        return this.code;
    }
}
